home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC User 2003 January
/
Disc 3
/
Amethyst.iso
/
live
/
etc
/
makedev.d
/
scsigen
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2002-11-06
|
220 b
|
7 lines
$numdevs{$name} = 64; $stddevs{$name} = "^(sg.|sg1[0-5])\$";
$generate{$name} = sub {
&$MkNod ("private", sprintf("sg%d", $i), "c", 21, $i);
$i < 8 && &$SymLink (sprintf("sg%d", $i), sprintf("sg%c", 97+$i));
};